package cn.example.base;

import cn.example.util.ToolFactory;
import cn.example.util.toolkit.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 基础工具
 * Created by WuYB on 2018/4/16.
 */
public class Base {

    protected final Logger log = LoggerFactory.getLogger(this.getClass());
    protected DateUtil dateUtil = ToolFactory.getDateUtil();
    protected EncryptUtil encryptUtil = ToolFactory.getEncryptUtil();
    protected IOUtil ioUtil = ToolFactory.getIOUtil();
    protected NullUtil nullUtil = ToolFactory.getNullUtil();
    protected HttpUtil httpUtil = ToolFactory.getHttpUtil();
    protected BeanUtil beanUtil = ToolFactory.getBeanUtil();
    protected ImageUtil imageUtil = ToolFactory.getImageUtil();
    protected RandomUtil randomUtil = ToolFactory.getRandomUtil();
    protected ListUtil listUtil = ToolFactory.getListUtil();
    protected UploadUtil uploadUtil = ToolFactory.getUploadUtil();
    protected StringUtil stringUtil = ToolFactory.getStringUtil();
    protected PoiUtil poiUtil = ToolFactory.getPoiUtil();

}
